<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>eRPC API Reference: basic_codec.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">eRPC API Reference
   &#160;<span id="projectnumber">Rev. 1.5.0</span>
   </div>
   <div id="projectbrief">NXP Semiconductors</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>API&#160;Reference</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('basic__codec_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">basic_codec.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="basic__codec_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2014, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright 2016-2017 NXP</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * are permitted provided that the following conditions are met:</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * o Redistributions of source code must retain the above copyright notice, this list</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *   of conditions and the following disclaimer.</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * o Redistributions in binary form must reproduce the above copyright notice, this</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *   list of conditions and the following disclaimer in the documentation and/or</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *   other materials provided with the distribution.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * o Neither the name of the copyright holder nor the names of its</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *   contributors may be used to endorse or promote products derived from this</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *   software without specific prior written permission.</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#ifndef _EMBEDDED_RPC__BASIC_SERIALIZATION_H_</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#define _EMBEDDED_RPC__BASIC_SERIALIZATION_H_</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="codec_8h.html">codec.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;new&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">// Classes</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceerpc.html">erpc</a> {</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="namespaceerpc.html#a21a4abaef5b1d4080cc65043a9ccd89f">   52</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespaceerpc.html#a21a4abaef5b1d4080cc65043a9ccd89f">_null_flag</a></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;{</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    kNotNull = 0,</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    kIsNull</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;};</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classerpc_1_1_basic_codec.html">   63</a></span>&#160;<span class="keyword">class </span><a class="code" href="classerpc_1_1_basic_codec.html">BasicCodec</a> : <span class="keyword">public</span> <a class="code" href="classerpc_1_1_codec.html">Codec</a></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classerpc_1_1_basic_codec.html#a41fd14db0b41fabf23c177a342ae0ff5">   66</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="classerpc_1_1_basic_codec.html#a41fd14db0b41fabf23c177a342ae0ff5">kBasicCodecVersion</a> = 1; </div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <a class="code" href="classerpc_1_1_basic_codec.html">BasicCodec</a>()</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    : <a class="code" href="classerpc_1_1_codec.html">Codec</a>()</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    {</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    }</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a0fa4c6301fbc588f85c49964d7970258">startWriteMessage</a>(<a class="code" href="namespaceerpc.html#a7116f64fb1351d72417155cfed485478">message_type_t</a> type, uint32_t service, uint32_t request, uint32_t sequence);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a765aa2f4ecba019e30678fe184493df2">endWriteMessage</a>();</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(<span class="keywordtype">bool</span> value);</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(int8_t value);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(int16_t value);</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(int32_t value);</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(int64_t value);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(uint8_t value);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(uint16_t value);</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(uint32_t value);</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(uint64_t value);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(<span class="keywordtype">float</span> value);</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">write</a>(<span class="keywordtype">double</span> value);</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a780770af732a8c65c58c1849cfad6795">writePtr</a>(uintptr_t value);</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a8f476ced2a5921ca3d19d87bd5e64a57">writeString</a>(uint32_t length, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#aaa3686daacbdfc0e820c522bf20e7267">writeBinary</a>(uint32_t length, <span class="keyword">const</span> uint8_t *value);</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a7d6a8fec0a26945a7965bc27ee1051f1">startWriteList</a>(uint32_t length);</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a8720e162676bb90450bdf93fe7521f9f">endWriteList</a>();</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a886a191a25ce8ea45190a78f0811a552">startWriteStruct</a>();</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a1c42a1b2ce3526227618fd69daee1257">endWriteStruct</a>();</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae78623ab797d92b673e6e5e342ec874e">startWriteUnion</a>(int32_t discriminator);</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a4dd887574809286d1cf4e1090cf4dbbe">endWriteUnion</a>();</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a0e30745ca41b9e2ee277619d968f001c">writeNullFlag</a>(<span class="keywordtype">bool</span> isNull);</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a7abcf7a74b8de3b84ea417c16e850413">startReadMessage</a>(<a class="code" href="namespaceerpc.html#a7116f64fb1351d72417155cfed485478">message_type_t</a> *type,</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;                                           uint32_t *service,</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                                           uint32_t *request,</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;                                           uint32_t *sequence);</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a1a7d30f3d57e8a1520e0db8f69954d54">endReadMessage</a>();</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(<span class="keywordtype">bool</span> *value);</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(int8_t *value);</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(int16_t *value);</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(int32_t *value);</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(int64_t *value);</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(uint8_t *value);</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(uint16_t *value);</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(uint32_t *value);</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(uint64_t *value);</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(<span class="keywordtype">float</span> *value);</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">read</a>(<span class="keywordtype">double</span> *value);</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a7dd6a1e760bbe410f8dc36e2963be006">readPtr</a>(uintptr_t *value);</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a681be30bb9490f5df171ac161957eb50">readString</a>(uint32_t *length, <span class="keywordtype">char</span> **value);</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a286da2fb516cab0063b3ce9307cd557c">readBinary</a>(uint32_t *length, uint8_t **value);</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a31cbbd775e98a3288bdf7c741c2c7d84">startReadList</a>(uint32_t *length);</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a7063b583c1ee91ef0427b750933e234c">endReadList</a>();</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ae96c0cb07e2dd28d86ea331be19f8d15">startReadStruct</a>();</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#ac9b8752c2edb161e4645ff836b6e2a75">endReadStruct</a>();</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#acadffdd25147bd1be6bb9895387cefcb">startReadUnion</a>(int32_t *discriminator);</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#aeba8b001673608391e08d0dff9b32b56">endReadUnion</a>();</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;</div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a> <a class="code" href="classerpc_1_1_basic_codec.html#a7bb45d1d9a0cbe45ccdaad319efa4294">readNullFlag</a>(<span class="keywordtype">bool</span> *isNull);</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;};</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div><div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="classerpc_1_1_basic_codec_factory.html">  491</a></span>&#160;<span class="keyword">class </span><a class="code" href="classerpc_1_1_basic_codec_factory.html">BasicCodecFactory</a> : <span class="keyword">public</span> <a class="code" href="classerpc_1_1_codec_factory.html">CodecFactory</a></div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;{</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="classerpc_1_1_basic_codec_factory.html#ae6e09ba44bba02818bf1f6a7c4edff3f">  499</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classerpc_1_1_basic_codec.html">BasicCodec</a> *<a class="code" href="classerpc_1_1_basic_codec_factory.html#ae6e09ba44bba02818bf1f6a7c4edff3f">create</a>() { <span class="keywordflow">return</span> <span class="keyword">new</span> (std::nothrow) <a class="code" href="classerpc_1_1_basic_codec.html">BasicCodec</a>; }</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;</div><div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="classerpc_1_1_basic_codec_factory.html#a9f3929fe7d4549ba1399fc18e8a9cc3a">  506</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpc_1_1_basic_codec_factory.html#a9f3929fe7d4549ba1399fc18e8a9cc3a">dispose</a>(<a class="code" href="classerpc_1_1_codec.html">Codec</a> *codec) { <span class="keyword">delete</span> codec; }</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;};</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;} <span class="comment">// namespace erpc</span></div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;</div><div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;<span class="preprocessor">#endif // _EMBEDDED_RPC__BASIC_SERIALIZATION_H_</span></div><div class="ttc" id="classerpc_1_1_basic_codec_html_a681be30bb9490f5df171ac161957eb50"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a681be30bb9490f5df171ac161957eb50">erpc::BasicCodec::readString</a></div><div class="ttdeci">virtual erpc_status_t readString(uint32_t *length, char **value)</div><div class="ttdoc">Prototype for read string value. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:291</div></div>
<div class="ttc" id="group__infra_html_ga5f8872e58f09a16d192bf664f9898651"><div class="ttname"><a href="group__infra.html#ga5f8872e58f09a16d192bf664f9898651">erpc_status_t</a></div><div class="ttdeci">int32_t erpc_status_t</div><div class="ttdoc">Type used for all status and error return values. </div><div class="ttdef"><b>Definition:</b> erpc_common.h:108</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a7abcf7a74b8de3b84ea417c16e850413"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a7abcf7a74b8de3b84ea417c16e850413">erpc::BasicCodec::startReadMessage</a></div><div class="ttdeci">virtual erpc_status_t startReadMessage(message_type_t *type, uint32_t *service, uint32_t *request, uint32_t *sequence)</div><div class="ttdoc">Prototype for read header of message. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:187</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a765aa2f4ecba019e30678fe184493df2"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a765aa2f4ecba019e30678fe184493df2">erpc::BasicCodec::endWriteMessage</a></div><div class="ttdeci">virtual erpc_status_t endWriteMessage()</div><div class="ttdoc">Prototype for write end of message. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:58</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_ae96c0cb07e2dd28d86ea331be19f8d15"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#ae96c0cb07e2dd28d86ea331be19f8d15">erpc::BasicCodec::startReadStruct</a></div><div class="ttdeci">virtual erpc_status_t startReadStruct()</div><div class="ttdoc">Prototype for start read structure. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:325</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a31cbbd775e98a3288bdf7c741c2c7d84"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a31cbbd775e98a3288bdf7c741c2c7d84">erpc::BasicCodec::startReadList</a></div><div class="ttdeci">virtual erpc_status_t startReadList(uint32_t *length)</div><div class="ttdoc">Prototype for start read list. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:314</div></div>
<div class="ttc" id="codec_8h_html"><div class="ttname"><a href="codec_8h.html">codec.h</a></div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a41fd14db0b41fabf23c177a342ae0ff5"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a41fd14db0b41fabf23c177a342ae0ff5">erpc::BasicCodec::kBasicCodecVersion</a></div><div class="ttdeci">static const uint32_t kBasicCodecVersion</div><div class="ttdef"><b>Definition:</b> basic_codec.h:66</div></div>
<div class="ttc" id="classerpc_1_1_codec_html"><div class="ttname"><a href="classerpc_1_1_codec.html">erpc::Codec</a></div><div class="ttdoc">Abstract serialization encoder/decoder interface. </div><div class="ttdef"><b>Definition:</b> codec.h:69</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_aaa3686daacbdfc0e820c522bf20e7267"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#aaa3686daacbdfc0e820c522bf20e7267">erpc::BasicCodec::writeBinary</a></div><div class="ttdeci">virtual erpc_status_t writeBinary(uint32_t length, const uint8_t *value)</div><div class="ttdoc">Prototype for write binary value. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:138</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a8720e162676bb90450bdf93fe7521f9f"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a8720e162676bb90450bdf93fe7521f9f">erpc::BasicCodec::endWriteList</a></div><div class="ttdeci">virtual erpc_status_t endWriteList()</div><div class="ttdoc">Prototype for end write list. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:156</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_aeba8b001673608391e08d0dff9b32b56"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#aeba8b001673608391e08d0dff9b32b56">erpc::BasicCodec::endReadUnion</a></div><div class="ttdeci">virtual erpc_status_t endReadUnion()</div><div class="ttdoc">Prototype for end read Union. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:341</div></div>
<div class="ttc" id="classerpc_1_1_codec_factory_html"><div class="ttname"><a href="classerpc_1_1_codec_factory.html">erpc::CodecFactory</a></div><div class="ttdoc">Abstract interface for codec factory. </div><div class="ttdef"><b>Definition:</b> codec.h:532</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_factory_html_a9f3929fe7d4549ba1399fc18e8a9cc3a"><div class="ttname"><a href="classerpc_1_1_basic_codec_factory.html#a9f3929fe7d4549ba1399fc18e8a9cc3a">erpc::BasicCodecFactory::dispose</a></div><div class="ttdeci">virtual void dispose(Codec *codec)</div><div class="ttdoc">Dispose codec. </div><div class="ttdef"><b>Definition:</b> basic_codec.h:506</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a1c42a1b2ce3526227618fd69daee1257"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a1c42a1b2ce3526227618fd69daee1257">erpc::BasicCodec::endWriteStruct</a></div><div class="ttdeci">virtual erpc_status_t endWriteStruct()</div><div class="ttdoc">Prototype for end write structure. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:166</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html"><div class="ttname"><a href="classerpc_1_1_basic_codec.html">erpc::BasicCodec</a></div><div class="ttdoc">Simple binary serialization format. </div><div class="ttdef"><b>Definition:</b> basic_codec.h:63</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a7063b583c1ee91ef0427b750933e234c"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a7063b583c1ee91ef0427b750933e234c">erpc::BasicCodec::endReadList</a></div><div class="ttdeci">virtual erpc_status_t endReadList()</div><div class="ttdoc">Prototype for end read list. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:320</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a0e30745ca41b9e2ee277619d968f001c"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a0e30745ca41b9e2ee277619d968f001c">erpc::BasicCodec::writeNullFlag</a></div><div class="ttdeci">virtual erpc_status_t writeNullFlag(bool isNull)</div><div class="ttdoc">Writes a flag indicating whether the next value is null. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:182</div></div>
<div class="ttc" id="namespaceerpc_html_a21a4abaef5b1d4080cc65043a9ccd89f"><div class="ttname"><a href="namespaceerpc.html#a21a4abaef5b1d4080cc65043a9ccd89f">erpc::_null_flag</a></div><div class="ttdeci">_null_flag</div><div class="ttdoc">Values of the uint8 flag prefixing nullable values. </div><div class="ttdef"><b>Definition:</b> basic_codec.h:52</div></div>
<div class="ttc" id="namespaceerpc_html"><div class="ttname"><a href="namespaceerpc.html">erpc</a></div><div class="ttdoc">Logging messages objects used for logging sent/received messages. </div><div class="ttdef"><b>Definition:</b> arbitrated_client_manager.h:47</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a7dd6a1e760bbe410f8dc36e2963be006"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a7dd6a1e760bbe410f8dc36e2963be006">erpc::BasicCodec::readPtr</a></div><div class="ttdeci">virtual erpc_status_t readPtr(uintptr_t *value)</div><div class="ttdoc">Prototype for read uintptr value. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:274</div></div>
<div class="ttc" id="namespaceerpc_html_a7116f64fb1351d72417155cfed485478"><div class="ttname"><a href="namespaceerpc.html#a7116f64fb1351d72417155cfed485478">erpc::message_type_t</a></div><div class="ttdeci">message_type_t</div><div class="ttdoc">Types of messages that can be encoded. </div><div class="ttdef"><b>Definition:</b> codec.h:55</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_acadffdd25147bd1be6bb9895387cefcb"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#acadffdd25147bd1be6bb9895387cefcb">erpc::BasicCodec::startReadUnion</a></div><div class="ttdeci">virtual erpc_status_t startReadUnion(int32_t *discriminator)</div><div class="ttdoc">Prototype for start read union. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:335</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_factory_html"><div class="ttname"><a href="classerpc_1_1_basic_codec_factory.html">erpc::BasicCodecFactory</a></div><div class="ttdoc">Basic codec factory implements functions from codec factory. </div><div class="ttdef"><b>Definition:</b> basic_codec.h:491</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a286da2fb516cab0063b3ce9307cd557c"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a286da2fb516cab0063b3ce9307cd557c">erpc::BasicCodec::readBinary</a></div><div class="ttdeci">virtual erpc_status_t readBinary(uint32_t *length, uint8_t **value)</div><div class="ttdoc">Prototype for read binary value. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:296</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a886a191a25ce8ea45190a78f0811a552"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a886a191a25ce8ea45190a78f0811a552">erpc::BasicCodec::startWriteStruct</a></div><div class="ttdeci">virtual erpc_status_t startWriteStruct()</div><div class="ttdoc">Prototype for start write structure. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:161</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_ae2bf041e34d2181f021cae256d05e76b"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#ae2bf041e34d2181f021cae256d05e76b">erpc::BasicCodec::read</a></div><div class="ttdeci">virtual erpc_status_t read(bool *value)</div><div class="ttdoc">Prototype for read boolean value. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:216</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_ac9b8752c2edb161e4645ff836b6e2a75"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#ac9b8752c2edb161e4645ff836b6e2a75">erpc::BasicCodec::endReadStruct</a></div><div class="ttdeci">virtual erpc_status_t endReadStruct()</div><div class="ttdoc">Prototype for end read structure. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:330</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a7d6a8fec0a26945a7965bc27ee1051f1"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a7d6a8fec0a26945a7965bc27ee1051f1">erpc::BasicCodec::startWriteList</a></div><div class="ttdeci">virtual erpc_status_t startWriteList(uint32_t length)</div><div class="ttdoc">Prototype for start write list. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:150</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_factory_html_ae6e09ba44bba02818bf1f6a7c4edff3f"><div class="ttname"><a href="classerpc_1_1_basic_codec_factory.html#ae6e09ba44bba02818bf1f6a7c4edff3f">erpc::BasicCodecFactory::create</a></div><div class="ttdeci">virtual BasicCodec * create()</div><div class="ttdoc">Return created codec. </div><div class="ttdef"><b>Definition:</b> basic_codec.h:499</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a0fa4c6301fbc588f85c49964d7970258"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a0fa4c6301fbc588f85c49964d7970258">erpc::BasicCodec::startWriteMessage</a></div><div class="ttdeci">virtual erpc_status_t startWriteMessage(message_type_t type, uint32_t service, uint32_t request, uint32_t sequence)</div><div class="ttdoc">Prototype for write header of message. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:40</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_ae78623ab797d92b673e6e5e342ec874e"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#ae78623ab797d92b673e6e5e342ec874e">erpc::BasicCodec::startWriteUnion</a></div><div class="ttdeci">virtual erpc_status_t startWriteUnion(int32_t discriminator)</div><div class="ttdoc">Prototype for start write union. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:171</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a1a7d30f3d57e8a1520e0db8f69954d54"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a1a7d30f3d57e8a1520e0db8f69954d54">erpc::BasicCodec::endReadMessage</a></div><div class="ttdeci">virtual erpc_status_t endReadMessage()</div><div class="ttdoc">Prototype for read end of message. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:211</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a7bb45d1d9a0cbe45ccdaad319efa4294"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a7bb45d1d9a0cbe45ccdaad319efa4294">erpc::BasicCodec::readNullFlag</a></div><div class="ttdeci">virtual erpc_status_t readNullFlag(bool *isNull)</div><div class="ttdoc">Reads a flag indicating whether the next value is null. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:346</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a8f476ced2a5921ca3d19d87bd5e64a57"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a8f476ced2a5921ca3d19d87bd5e64a57">erpc::BasicCodec::writeString</a></div><div class="ttdeci">virtual erpc_status_t writeString(uint32_t length, const char *value)</div><div class="ttdoc">Prototype for write string value. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:132</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_adeb48a7f68e1e0d830c3ff20c74fe01c"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#adeb48a7f68e1e0d830c3ff20c74fe01c">erpc::BasicCodec::write</a></div><div class="ttdeci">virtual erpc_status_t write(bool value)</div><div class="ttdoc">Prototype for write boolean value. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:63</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a4dd887574809286d1cf4e1090cf4dbbe"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a4dd887574809286d1cf4e1090cf4dbbe">erpc::BasicCodec::endWriteUnion</a></div><div class="ttdeci">virtual erpc_status_t endWriteUnion()</div><div class="ttdoc">Prototype for end write union. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:177</div></div>
<div class="ttc" id="classerpc_1_1_basic_codec_html_a780770af732a8c65c58c1849cfad6795"><div class="ttname"><a href="classerpc_1_1_basic_codec.html#a780770af732a8c65c58c1849cfad6795">erpc::BasicCodec::writePtr</a></div><div class="ttdeci">virtual erpc_status_t writePtr(uintptr_t value)</div><div class="ttdoc">Prototype for write uintptr value. </div><div class="ttdef"><b>Definition:</b> basic_codec.cpp:120</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer">&copy; 2016 NXP Semiconductors. All rights reserved.
    </li>
  </ul>
</div>
</body>
</html>
